package link.gpt.service.impl;

import link.gpt.dao.ProjectDao;
import link.gpt.pojo.Project;
import link.gpt.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version V1.0A
 * @uthor gpt
 * @Project holiday_task
 * @Package link.gpt.service.impl
 * @Description: ${TODO}
 * @Date 2021/10/5 16:16
 */
@Service
public class ProjectServiceImpl implements ProjectService {

   @Autowired
   private ProjectDao projectDao;

   @Override
   public List<Project> findAll() {
      return projectDao.selectByExample(null);
   }
}
